<?php
namespace Ydyd\Auth;
use GuzzleHttp\Client;
use Illuminate\Auth\AuthManager;
class AuthManage extends AuthManager
{
    public function checkAccount($mobile, $password)
    {
        $client = new Client();
        $url = "http://ucenterapi.1d1d100.net/ucenter_api/user/info/check/$mobile";
        $response = $client->get($url)->getBody()->getContents();
        return $response;
    }
}